package cn.smbms.service.storagerecord;

import java.util.List;

import cn.smbms.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

public interface StorageRecordService {

	/**
	 * 增加订单
	 * @param bill
	 * @return
	 */
	public boolean add(StorageRecord bill);


	/**
	 * 通过条件获取订单列表-模糊查询-billList
	 * @param bill
	 * @return
	 */
	public List<StorageRecord> getStorageRecordList(StorageRecord bill,int currentPageNo,int pageSize);
	
	/**
	 * 通过billId删除Bill
	 * @param delId
	 * @return
	 */
	public boolean deleteBillById(String delId);
	
	
	/**
	 * 通过billId获取Bill
	 * @param id
	 * @return
	 */
	public StorageRecord getBillById(String id);
	
	/**
	 * 修改订单信息
	 * @param bill
	 * @return
	 */
	public boolean modify(StorageRecord bill);

	public int count(StorageRecord record);

	public int getSupplierId (String supplierId);
	
}
